package cn.net.zidian.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

public class MultiItemEntityC<T> implements MultiItemEntity {

    private T data;
    private int type;

    public MultiItemEntityC(T data, int type) {
        this.data = data;
        this.type = type;
    }

    @Override
    public int getItemType() {
        return type;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
